/**
 * 
 */
package kr.co.insoft.core.model.configration.sev;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import kr.co.insoft.framework.util.NullExcludeTransformer;
import flexjson.JSONSerializer;

/**
 * TABLE : T_VARIABLE_VALUES
 * 
 * @author IN-SOFT Inc. GoodwillDD(sylee@in-soft.co.kr)
 * 
 */
@XmlRootElement
public class SEVMetadataEntityModel implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3728020215792172748L;
	String variableid;
	String seq;
	String title;
	Boolean array;
	int arrayRow;
	int cols;
	int rows;
	String opt;
	String tp;
	String val;
	String updatedDate;
	String refUserTypeId;
	String header;
	List<ArrayList<SEVMetadataEntityModel>> arrays;

	public String toString() {
		return (new JSONSerializer())
				.transform(new NullExcludeTransformer(), void.class)
				.exclude("*.class").deepSerialize(this);
	}

	/**
	 * @return the variableid
	 */
	public String getVariableid() {
		return variableid;
	}

	/**
	 * @param variableid
	 *            the variableid to set
	 */
	public void setVariableid(String variableid) {
		this.variableid = variableid;
	}

	/**
	 * @return the seq
	 */
	public String getSeq() {
		return seq;
	}

	/**
	 * @param seq
	 *            the seq to set
	 */
	public void setSeq(String seq) {
		this.seq = seq;
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title
	 *            the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the cols
	 */
	public int getCols() {
		return cols;
	}

	/**
	 * @param cols
	 *            the cols to set
	 */
	public void setCols(int cols) {
		this.cols = cols;
	}

	/**
	 * @return the rows
	 */
	public int getRows() {
		return rows;
	}

	/**
	 * @param rows
	 *            the rows to set
	 */
	public void setRows(int rows) {
		this.rows = rows;
	}

	/**
	 * @return the opt
	 */
	public String getOpt() {
		return opt;
	}

	/**
	 * @param opt
	 *            the opt to set
	 */
	public void setOpt(String opt) {
		this.opt = opt;
	}

	/**
	 * @return the tp
	 */
	public String getTp() {
		return tp;
	}

	/**
	 * @param tp
	 *            the tp to set
	 */
	public void setTp(String tp) {
		this.tp = tp;
	}

	/**
	 * @return the val
	 */
	public String getVal() {
		return val;
	}

	/**
	 * @param val
	 *            the val to set
	 */
	public void setVal(String val) {
		this.val = val;
	}

	/**
	 * @return the updatedDate
	 */
	public String getUpdatedDate() {
		return updatedDate;
	}

	/**
	 * @param updatedDate
	 *            the updatedDate to set
	 */
	public void setUpdatedDate(String updatedDate) {
		this.updatedDate = updatedDate;
	}

	public Boolean getArray() {
		return array;
	}

	public void setArray(Boolean array) {
		this.array = array;
	}

	public int getArrayRow() {
		return arrayRow;
	}

	public void setArrayRow(int arrayRow) {
		this.arrayRow = arrayRow;
	}

	public List<ArrayList<SEVMetadataEntityModel>> getArrays() {
		return arrays;
	}

	public void setArrays(List<ArrayList<SEVMetadataEntityModel>> arrays) {
		this.arrays = arrays;
	}

	public void addArray(ArrayList<SEVMetadataEntityModel> rows) {
		this.arrays.add(rows);
	}

	public String getRefUserTypeId() {
		return refUserTypeId;
	}

	public void setRefUserTypeId(String refUserTypeId) {
		this.refUserTypeId = refUserTypeId;
	}

	public String getHeader() {
		return header;
	}

	public void setHeader(String header) {
		this.header = header;
	}
}
